class Hvac:
    def __init__(self, brand, price):
        self.__brand = brand
        self.__price = price

    @property
    def brand(self):
        return self.__brand

    @property
    def price(self):
        return self.__price

    @brand.setter
    def brand(self, new_brand):
        self.__brand = new_brand

    @price.setter
    def price(self, new_price):
        self.__price = new_price

    def start(self):
        print(f"{self.__brand}空调开机了……")

    def latter_shutdown(self, time):
        print(f"{self.__brand}将于{time}分钟后自动关机")

    def __str__(self):
        return f"空调型号：{self.__brand}，价格：{self.__price}"


class Test:
    @staticmethod
    def run():
        hvac = Hvac("小米自然风Pro", "京东特惠2628元")
        print(f"空调型号：{hvac.brand}，价格：{hvac.price}")
        hvac.start()
        hvac.latter_shutdown(5)


class Sim:
    def __init__(self, phone, credit, points):
        self.phone = phone
        self.credit = credit
        self.points = points


class Phone:
    # 手机品牌，手机电池容量，
    # 手机屏幕大小，手机最大待机时长
    # 手机sim卡
    def __init__(self, brand, battery_capacity, screen_size, standby, sim):
        self.brand = brand
        self.batter_capacity = battery_capacity
        self.screen_size = screen_size
        # 手机最大待机时长
        self.standby = standby
        self.sim = sim

    def send(self, mess, number):
        print(f"发送消息内容：{mess}；")
        print(f"发送给{number}")


class Person:
    def __init__(self, name, sex, age, phone):
        self.name = name
        self.sex = sex
        self.age = age
        self.phone = phone

    def send_message(self):
        message = input("输入要发送的信息")
        phone_number = input("输入电话号")
        self.phone.send(message, phone_number)


if __name__ == '__main__':
    # 任务1
    Test.run()
